/* 通用页面样式 */
.page-container {
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.main-card {
  border-radius: 16px;
  box-shadow: none;
  border: none;
  backdrop-filter: none;
  background: transparent;
  transition: all 0.3s ease;
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.main-card:hover {
  transform: none;
  box-shadow: none;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: #495057;
}

.card-header span {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-content {
  padding: 40px;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.content-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  width: 100%;
  background: transparent;
  border-radius: 0;
  border: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.main-card:hover .content-placeholder {
  background: transparent;
}

.placeholder-icon {
  font-size: 64px;
  color: #6c757d;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.main-card:hover .placeholder-icon {
  color: #6c757d;
  transform: none;
}

.content-placeholder h3 {
  color: #495057;
  margin-bottom: 12px;
  font-weight: 600;
}

.content-placeholder p {
  color: #6c757d;
  font-size: 14px;
  margin: 0;
}

/* 按钮样式增强 */
.el-button--primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.el-button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

/* 表格样式增强 */
.el-table {
  border-radius: 8px;
  overflow: hidden;
}

.el-table th {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #495057;
  font-weight: 600;
}

/* 标签样式增强 */
.el-tag {
  border-radius: 12px;
  font-weight: 500;
  border: none;
}

/* 卡片标题样式 */
.el-card__header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* 面包屑样式增强 */
.el-breadcrumb__item {
  font-weight: 500;
}

.el-breadcrumb__item:last-child .el-breadcrumb__inner {
  color: #667eea;
  font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .main-wrapper {
    padding: 24px 32px;
  }
  
  .content-placeholder {
    min-height: 300px;
  }
}

/* 仅显示页面标题，隐藏其它内容 */
.main-wrapper > :not(.page-title) {
  display: none !important;
}

@media (max-width: 768px) {
  .main-wrapper {
    padding: 16px 20px;
  }
  
  .content-placeholder {
    min-height: 250px;
    padding: 20px;
  }
  
  .placeholder-icon {
    font-size: 48px;
  }
  
  .content-placeholder h3 {
    font-size: 18px;
  }
  
  .content-placeholder p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .main-wrapper {
    padding: 12px 16px;
  }
  
  .content-placeholder {
    min-height: 200px;
    padding: 16px;
  }
  
  .placeholder-icon {
    font-size: 36px;
  }
  
  .content-placeholder h3 {
    font-size: 16px;
  }
  
  .content-placeholder p {
    font-size: 11px;
  }
}
